<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>仿b站</title>
    <link rel="stylesheet" href="./导航栏.css">
    <style>
.bg{
	position: relative;
	width: 500px;
	height: 330px;
	overflow: hidden;
}
.wenzi{
	overflow: hidden;
	font-size: 40px;
	color: pink;
	bottom: 0;
	left: 0;
	position: absolute;
	overflow: hidden;
	float: left;transform: translateY(100%);
	opacity: 1; 
	transform: translateY(100%);
	transition: transform .4s linear, opacity .5s linear;
    text-decoration: none;
}
.bg img{
	width: 570px;
	height: 350px;
	display: block;
}
.bg:hover .wenzi{
	opacity: 1;
	transform: translateY(0);
	top: 0;
	left: 0;
}
    </style>
</head>
<body>
    <div class="tou">
        <header>
            <ul>
                <li><a href="../首页.html">首页</a></li>
                <li><a href="./仿b站.html">仿b站</a></li>
                <li><a href="./伪元素(促销).html">伪元素(促销)</a></li>
                <li><a href="./图片悬停.html">图片悬停</a></li>
                <li><a href="./导航条.html">导航条</a></li>
                <li><a href="./浮动(图片定位).html">浮动(图片定位)</a></li>
                <li><a href="./浮动(环绕i).html">浮动(环绕)</a></li>
                <li><a href="./浮动(西游记).html">浮动(西游记)</a></li>
                <li><a href="./浮动.html">浮动</a></li>
                <li><a href="./浮动定位.html">浮动定位</a></li>
                <li><a href="./立体模型.html">立体模型</a></li>
                <li><a href="./购物车图标.html">购物车图标</a></li>
                <li><a href="./鼠标悬停.html">鼠标悬停</a></li>
                <li><a href="https://gitee.com/han-sunian/">仓库</a></li>
            </ul>
        </header>
    </div>
    <div class="bg">
        <img src="./b站.jpg" alt="" >
        <a href="https://www.bilibili.com/video/BV1u64y1a7hW/?spm_id_from=333.337.search-card.all.click&vd_source=1c81e2ca48025601a8dbe3e8364d1761" class="wenzi">遥远的她（点击文字跳转）</a>
    </div>
</body>
</html>